count number of odd digits in a given integer